package com.auth.manage.user.domain.service.query.strategy;

import com.auth.manage.common.user.api.request.condition.UserQueryCondition;
import com.auth.manage.user.domain.entity.User;
import com.auth.manage.common.user.api.constant.UserQueryStrategyCode;

import java.util.Collection;

public interface UserQueryStrategy {

    // 每一个策略都必须标志他的策略名称
    UserQueryStrategyCode getStrategyCode();

    Collection<User> query(UserQueryCondition condition);
}
